#pragma once
#include "afxwin.h"
#include "afxcmn.h"

// CCompareFileDialog dialog

class CCompareFileDialog : public CDialog
{
	DECLARE_DYNAMIC(CCompareFileDialog)

private:
	void ButtonEnable();

	CString		m_strSourceFilePath;
	CString		m_strArchivedPath;

public:
	CCompareFileDialog(CWnd* pParent = NULL);   // standard constructor
	virtual ~CCompareFileDialog();

	CString		m_strFilename;
	void	SetFilename(CString &strFilename);
	int		GetSelectedPos();

// Dialog Data
	enum { IDD = IDD_DIALOG_COMPARE_FILE };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnLvnItemchangedListArchivedFile(NMHDR *pNMHDR, LRESULT *pResult);
	virtual BOOL OnInitDialog();
	CListCtrl m_listArchivedFile;
	CEdit m_editCurrentFile;
	afx_msg void OnBnClickedButtonCopyFullPath();
	afx_msg void OnBnClickedButtonOpenFile();
	afx_msg void OnBnClickedButtonRecover();
	afx_msg void OnBnClickedButtonOpenFolder();
};
